From: Jim Blandy Date: Sat, 10 Apr 1993 08:31:28 +0000 (+0000) Subject: * Makefile.in (xmakefile): Recognize the -O option with a numeric X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96543 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=55bd4cbcb5232afb65d9ada8bc5c93e9008e0aa0;p=emacs.git * Makefile.in (xmakefile): Recognize the -O option with a numeric optimization level. * ymakefile (C_DEBUG_SWITCH): If we're using version 2 of GCC or higher, use -O99 instead of plain -O. --- diff --git a/src/Makefile.in b/src/Makefile.in index 2c7fad192e5..5f0afca50c3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -75,7 +75,7 @@ xmakefile: ymakefile config.h ${CPP} ${CFLAGS} junk.c > junk.cpp \ -DC_SWITCH_SITE="`echo ${CFLAGS}' ' \ | sed -e 's/-g /C_DEBUG_SWITCH /' \ - -e 's/-O /C_OPTIMIZE_SWITCH /'`" + -e 's/-O[0-9]* /C_OPTIMIZE_SWITCH /'`" < junk.cpp \ sed -e 's/^#.*//' \ -e 's/^[ \f\t][ \f\t]*$$//' \